﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class DepartmentDto:BaseDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 部门代码
        /// </summary>
        public string DepartmentCode { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 货主id
        /// </summary>
        public string OwnerIds { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactMobile { get; set; }
        public int? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 创建用户Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建用户名
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 创建用户Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 创建用户名称
        /// </summary>
        public string ModifyUserName { get; set; }
   
        /// <summary>
        /// 部门对应货主
        /// </summary>
        public List<TOwner> OwnerList
        {
            get; set;
        }
    }
}
